package uml.internal;

public class Generalisation {
	//- PUBLIC & INTERNAL VARIABLES ---------------------------------------------------------------------------

	//- PRIVATE & PROTECTED VARIABLES -----------------------------------------------------------------------
	private final String packageName;
	private final int id;
	private final String subClass;
	private final String superClass;
	private final String relationType;
	
	//- CONSTRUCTOR ----------------------------------------------------------------------------------------------
	public Generalisation(int id, String name, String subClass, String superClass, String relationType){
		this.packageName = name;
		this.subClass = subClass;
		this.superClass = superClass;
		this.id = id;
		this.relationType = relationType;
	}
	
	//- PUBLIC & INTERNAL METHODS -----------------------------------------------------------------------------

	//- PRIVATE & PROTECTED METHODS -------------------------------------------------------------------------

	//- GETTERS & SETTERS ----------------------------------------------------------------------------------------
	public String getPackageName() {
		return packageName;
	}

	public String getSubClass() {
		return subClass;
	}

	public String getSuperClass() {
		return superClass;
	}

	public int getId() {
		return id;
	}

	public String getRelationType() {
		return relationType;
	}
}
